home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Any tips for Building ODF wit.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.3 KB  |  [TEXT/ttxt]

  1. Subject:     Any tips for Building ODF with CW8 CFM68k?
  2. Sent:        3/23/96 9:21 AM
  3. Received:    3/25/96 8:25 AM
  4. From:        Masahiro Abe, m_abe@sainet.or.jp
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Hi all,
  9.  I've long tried to build ODF libraries and examples with CodeWarrior for
  10. my IIci. I haven't succeeded it yet. I would like to see if anyone had done
  11. this with latest release of CW8 with latest C/C++ 68k patch, and would like
  12. to know how it was done in detail.
  13.  
  14.  In my case, all source get compiled fine (with several modifications based
  15. on WWW and NewsGroup info), but at link time, linker always complain that
  16. it couldn't resolve references to "somGetGlobalEnvironment" or other SOM
  17. related name. I've disassembled the caller and found it is really calling
  18. "somGetGlobalEnvironment", but "somlib" shared library has entry name of
  19. "_%somGetGlobalEnvironment".
  20.  If I build DrawEditor68k sample part, it correctly references to
  21. "_%somGetGlobalEnvironment".
  22.  
  23. Is my compiler/Linker setting causing this name mismatch? Does anybody have
  24. any insight on this?
  25.  
  26. I would greatly appreciate any suggestion/help.
  27.  
  28. BTW, following is my compiler/linker preferences
  29. --"68K CodeGen" preferences
  30.  {Struct Alignment:mc68k} {Peephole Optimizer:true}
  31.  {CSE Optimizer:true} {Optimize For Size:false}
  32.  {Use Profiler:false} {Code Model:smart}
  33.  {MC68020 CodeGen:true} {MC68881 CodeGen:false}
  34.  {Far Method Tables:false} {Far String Constants:true}
  35.  {Four Bytes Ints:true} {Eight Byte Double:true}
  36.  {Far Data:false} {PC Relative Strings:false}
  37.  {MPW Calling Conventions:false}
  38.                         
  39. --"C/C++ Compiler"
  40.  {Activate CPlusPlus:true} {ARM Conformance:true}
  41.  {ANSI Keywords Only:false} {Require Function Prototypes:true}
  42.  {Expand Trigraph Sequences:false} {Enums Always Ints:false}
  43.  {MPW Pointer Type Rules:false} {Exception Handling:true}
  44.  {Dont Inline:false} {Pool Strings:false}
  45.  {Dont Reuse Strings:false} {ANSI Strict:false}
  46.  {MPW Newlines:false} {RTTI:true}
  47.  {MultiByte Aware:true}
  48.  
  49.  Thanks in advance.
  50. #####################################################################
  51. ##### Masahiro Abe     <Internet   : m_abe@sainet.or.jp       > #####
  52. #####                  <Niftyserve : BXA03713@niftyserve.or.jp> #####
  53. #####################################################################
  54.